package messages.ticket;

import info.Ticket;
import messages.Message;

public class ADFlightsTicketResInfoMes extends Message {
    private boolean isSuccess = false;
    private Ticket newTicket;
    public ADFlightsTicketResInfoMes() {
        super(MSG_TYPE.MSG_ADD_FLIGHT_TICKET_ACK);
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public Ticket getNewTicket() {
        return newTicket;
    }

    public void setNewTicket(Ticket newTicket) {
        this.newTicket = newTicket;
    }
}
